<template>
    <div>
        <mt-swipe :auto="4000">
            <mt-swipe-item v-for="item in lunbolist">
                <img :src="item.src" :class="{fullpage: isfullpage}">
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>

<script>
export default {
    // 传递轮播图数组、是否启用类
    props: ['lunbolist','isfullpage']
}
</script>

<style lang="less" scoped>
    .fullpage{
        width: 100%;
    }
    .mint-swipe{
        height: 200px;
        .mint-swipe-item{
            text-align: center;
            img{
                height: 100%;
            }
        }
    }
</style>